#ifndef __losor_objectset_h__
#define __losor_objectset_h__

#include <map>
#include <string>
#include <object.h>

using namespace std;

namespace losor
{
	class objectset
	{
		public:
			typedef object *valtype;
			typedef multimap<string,valtype> settype;
			typedef valtype::iterator iterator;
		public:
			list<object*> operator[]( string key );
			void insert( string key, object *val );
			void erase( object *val );
			void erase( string key );
			iterator begin();
			iterator end();
		protected:
			settype m_object;
	};
}

#endif

